package br.com.infoanalise.pety.teste;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import br.com.infoanalise.jsf.pety.repository.JogadorRepository;
import br.com.infoanalise.jsf.pety.repository.SelecaoRepository;

public class MainSpring {

	public static void main(String[] args) {

		ApplicationContext ac = new ClassPathXmlApplicationContext("br/com/infoanalise/pety/teste/applicationContext.xml");
		
		//JogadorRepository jogadorRepository = (JogadorRepository) ac.getBean("jogadorRepository");
		
		//SelecaoRepository selecaoRepository = (SelecaoRepository) ac.getBean("selecaoRepository");
		//System.out.println(jogadorRepository.getEntityClass().getName());
		
	
	}

}
